package id.net.iconpln.bb.server;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;


import id.net.iconpln.bb.client.model.UserBean;
import id.net.iconpln.bb.client.service.PerencanaanRPCService;
import id.net.iconpln.bb.server.service.PerencanaanService;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@Repository
public class PerencanaanRPCServiceImpl extends RemoteServiceServlet implements PerencanaanRPCService{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6034314635905597880L;
	@Autowired private PerencanaanService perencanaanService;
	
	
	@Override
	public List<Map> getMaster(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanService.getMaster(kode, map);
	}

	@Override
	public List<Map> getListRencanaByKit(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanService.getListRencanaByKit(kode, map);
	}

	@Override
	public List<Map> crudPerencanaan(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanService.crudPerencanaan(kode, map);
	}

	@Override
	public List<Map> getFormulaProduksi(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanService.getFormulaProduksi(kode, map);
	}

	@Override
	public List<Map> getListKontrakByKit(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanService.getListKontrakByKit(kode, map);
	}

	@Override
	public List<Map> crudPengadaan(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanService.crudPengadaan(kode, map);
	}

}
